<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
<meta charset="UTF-8"></meta>
<title>Spring Cloud Administrator</title>
<script type="text/javascript" src="../../js/lib/jquery-1.9.1.min.js" th:src="@{/js/lib/jquery-1.9.1.min.js}"></script>
<!-- bootstrap javascript -->
<script type="text/javascript" src="../../js/lib/bootstrap.min.js" th:src="@{/js/lib/bootstrap.min.js}"></script>

<!-- bootstrap style -->
<link href="../../css/bootstrap.min.css" th:href="@{/css/bootstrap.min.css}" rel="stylesheet"/>
<link href="../../css/bootstrap-theme.min.css" th:href="@{/css/bootstrap-theme.min.css}" rel="stylesheet"/>
<!-- 表单验证 -->
<script type="text/javascript" src="../../js/lib/Validform_v5.3.2_ncr_min.js" th:src="@{/js/lib/Validform_v5.3.2_ncr_min.js}"></script>
<link href="../../css/Validform.css" th:href="@{/css/Validform.css}" rel="stylesheet"/>
<!-- Custom styles -->
<link href="../../css/common.css" th:href="@{/css/common.css}" rel="stylesheet"/>

<!-- 消息提示 -->
<script type="text/javascript" src="../../js/lib/toastr.min.js" th:src="@{/js/lib/toastr.min.js}"></script>
<link href="../../css/toastr.min.css" th:href="@{/css/toastr.min.css}" rel="stylesheet"/>
</head>
<body>
<nav th:replace="include/header :: header"></nav>
<div id="main" class="container">

	<div class="title">
	    <div class="title-right">OAUTH-BOOT 授权</div>
	    <div class="title-left">
	        <a href="javascript:;">帮助</a>
	    </div>
	</div>
	<h3 th:text="${clientId}+' 请求授权，该应用将获取您的以下信息'"></h3>
	<p>昵称，头像和性别</p>
	授权后表明您已同意 <a  href="javascript:;" style="color: #E9686B">OAUTH-BOOT 服务协议</a>
	<form method="post" action="/oauth/authorize">
		<input type="hidden" name="user_oauth_approval" value="true" />
		<input type="hidden" th:name="'scope.'+${scope}" value="true" />
		<br />
		<button class="btn" type="submit">同意/授权</button>
	</form>

</div>
<footer class="blog-footer bg-inverse" data-th-fragment="footer">
    <div class="container">
 		<p class="m-0 text-center text-white">© 2018 <a href="mailto:572399495@qq.com">572399495@qq.com</a></p>
    </div>
</footer>
</body>
</html>